Skip to content

start leaderboard contract#27

Draft
morazzela wants to merge 21 commits into
masterfrom
leaderboard
Draft

start leaderboard contract#27
morazzela wants to merge 21 commits into
masterfrom
leaderboard

Conversation

@morazzela

Copy link
Copy Markdown

No description provided.

Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
function createTeam(uint competitionIndex, string calldata name, bytes32 referralCode) external registrationIsOpen(competitionIndex) isNotMember(competitionIndex) {
Competition storage competition = competitions[competitionIndex];

require(referralStorage.codeOwners(referralCode) != address(0), "Referral code does not exist.");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xdev10 you've said we can skip the referral code, do you mean referral code will be optional?

Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Comment thread contracts/competition/Competition.sol Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants